# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=tree-sitter-toml
pkgver=0.5.1
pkgrel=1
pkgdesc="TOML grammar for tree-sitter"
url="https://github.com/ikatyang/tree-sitter-toml"
arch="all"
license="MIT"
makedepends="tree-sitter-dev"
install_if="tree-sitter-grammars"
source="https://github.com/ikatyang/tree-sitter-toml/archive/v$pkgver/tree-sitter-toml-$pkgver.tar.gz"
options="!check"  # no tests for shared lib

build() {
	abuild-tree-sitter build
}

package() {
	DESTDIR="$pkgdir" abuild-tree-sitter install
}

sha512sums="
14d14e04152f4e043f536e6170d4187ddc69fe2bd3feae157ba6e3eb811cd80e79ed1937573c7723a613a544e057fb37ba1876c4824f15306be3adc93f33fc67  tree-sitter-toml-0.5.1.tar.gz
"
